package cn.distribution.projectManager.entity.dao;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 项目数据库
 * @author zhengminjie
 */
@Data
/**
 * 指定表名
 */
@TableName("data_project")
public class ProjectDAO {

    /**
     * 项目ID value与数据库主键列名一致
     */
    @TableId(value = "project_id", type = IdType.AUTO)
    private Long projectId;

    /**
     * 所属用户ID  创建人
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 项目名称 project_name
     */
    @TableField("project_name")
    private String projectName;

    /**
     * 项目摘要 project_summary
     */
    @TableField("project_summary")
    private String projectSummary;

    /**
     * 项目删除 delete_flag false未删除
     */
    @TableField("delete_flag")
    private Integer deleteFlag;
}
